package com.yjc.hire.feign;

import com.yjc.hire.exceptions.GraceException;
import com.yjc.hire.grace.result.GraceJSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/7/19
 * </p>
 */


@FeignClient("work-service")//通知调用远程服务的service
public interface WorkMicroServiceFeign {

    @GetMapping("/resume/init")
    public GraceJSONResult init( @RequestParam("userId") String userId);
}
